package com.erlinyou.im.model.groupmove;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

import com.erlinyou.im.model.base.AbstractDO;

@Entity
@Table(name="ofcontacts")
@IdClass(OfcontactsId.class)
public class Ofcontacts extends AbstractDO{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	private String cid;
	
	@Id
	private String crid;
	
	@Column(columnDefinition="text")
	private String clastmsg;
	
	private Long cuptime;
	
	private int cwds;
	
	private String ctype;
	
	private Integer croomid;
	
	private String croomname;

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public String getCrid() {
		return crid;
	}

	public void setCrid(String crid) {
		this.crid = crid;
	}

	public String getClastmsg() {
		return clastmsg;
	}

	public void setClastmsg(String clastmsg) {
		this.clastmsg = clastmsg;
	}

	public Long getCuptime() {
		return cuptime;
	}

	public void setCuptime(Long cuptime) {
		this.cuptime = cuptime;
	}

	public int getCwds() {
		return cwds;
	}

	public void setCwds(int cwds) {
		this.cwds = cwds;
	}

	public String getCtype() {
		return ctype;
	}

	public void setCtype(String ctype) {
		this.ctype = ctype;
	}

	
	
	public Integer getCroomid() {
		return croomid;
	}

	public void setCroomid(Integer croomid) {
		this.croomid = croomid;
	}

	public String getCroomname() {
		return croomname;
	}

	public void setCroomname(String croomname) {
		this.croomname = croomname;
	}
	
	
	
	
	
	
}
